package com.mp.ipm2020.mbg.model;

import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author adidasshe
 * @since 2020-05-26
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="DeviceData对象", description="")
public class DeviceData implements Serializable {

    private static final long serialVersionUID=1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "A相电压")
    private Double voltage1;

    @ApiModelProperty(value = "B相电压")
    private Double voltage2;

    @ApiModelProperty(value = "C相电压")
    private Double voltage3;

    @ApiModelProperty(value = "A相电流")
    private Double current1;

    @ApiModelProperty(value = "B相电流")
    private Double current2;

    @ApiModelProperty(value = "C相电流")
    private Double current3;

    @ApiModelProperty(value = "一路漏电电流")
    private Double leakageCurrent1;

    @ApiModelProperty(value = "二路漏电电流")
    private Double leakageCurrent2;

    @ApiModelProperty(value = "三路漏电电流")
    private Double leakageCurrent3;

    @ApiModelProperty(value = "一路空气开关")
    private Integer switch1;

    @ApiModelProperty(value = "二路空气开关")
    private Integer switch2;

    @ApiModelProperty(value = "三路空气开关")
    private Integer switch3;

    @ApiModelProperty(value = "三相不平衡状态")
    private Double unbalancedState1;

    @ApiModelProperty(value = "功率因数")
    private Double powerFactor1;

    @ApiModelProperty(value = "电容投切开关1")
    private Integer capacitanceSwitch1;

    @ApiModelProperty(value = "电容投切开关2")
    private Integer capacitanceSwitch2;

    @ApiModelProperty(value = "电容投切开关3")
    private Integer capacitanceSwitch3;

    @ApiModelProperty(value = "电容投切开关4")
    private Integer capacitanceSwitch4;

    @ApiModelProperty(value = "电容投切开关5")
    private Integer capacitanceSwitch5;

    @ApiModelProperty(value = "电容投切开关6")
    private Integer capacitanceSwitch6;

    @ApiModelProperty(value = "电容投切开关7")
    private Integer capacitanceSwitch7;

    @ApiModelProperty(value = "电容投切开关8")
    private Integer capacitanceSwitch8;

    @ApiModelProperty(value = "电容投切开关9")
    private Integer capacitanceSwitch9;

    @ApiModelProperty(value = "电容投切开关10")
    private Integer capacitanceSwitch10;

    @ApiModelProperty(value = "电容投切开关11")
    private Integer capacitanceSwitch11;

    @ApiModelProperty(value = "电容投切开关12")
    private Integer capacitanceSwitch12;

    @ApiModelProperty(value = "电容投切开关13")
    private Integer capacitanceSwitch13;

    @ApiModelProperty(value = "电容投切开关14")
    private Integer capacitanceSwitch14;

    @ApiModelProperty(value = "电容投切开关15")
    private Integer capacitanceSwitch15;

    @ApiModelProperty(value = "电容投切开关16")
    private Integer capacitanceSwitch16;

    @ApiModelProperty(value = "电容投切开关17")
    private Integer capacitanceSwitch17;

    @ApiModelProperty(value = "电容投切开关18")
    private Integer capacitanceSwitch18;

    @ApiModelProperty(value = "1路A相")
    private Integer powerSwitch1;

    @ApiModelProperty(value = "1路B相")
    private Integer powerSwitch2;

    @ApiModelProperty(value = "1路C相")
    private Integer powerSwitch3;

    @ApiModelProperty(value = "2路A相")
    private Integer powerSwitch4;

    @ApiModelProperty(value = "2路B相")
    private Integer powerSwitch5;

    @ApiModelProperty(value = "2路C相")
    private Integer powerSwitch6;

    @ApiModelProperty(value = "3路A相")
    private Integer powerSwitch7;

    @ApiModelProperty(value = "3路B相")
    private Integer powerSwitch8;

    @ApiModelProperty(value = "3路C相")
    private Integer powerSwitch9;

    @ApiModelProperty(value = "创建时间")
    @TableField(fill = FieldFill.INSERT)
    private Date createTime;

    private Long deviceId;


}
